public class Formations
{
 /**Class with static methods to return common formations
  * @author JMR 24/5/2010
  */

  public static PlayingPosition [] four_four_two ()
  {
    PlayingPosition [] formation = new PlayingPosition [11];
    formation[0] = new PlayingPosition (PlayingPosition.ForwardPos.keeper, PlayingPosition.SidePos.centre);
    formation[1] = new PlayingPosition (PlayingPosition.ForwardPos.defender, PlayingPosition.SidePos.left);
    formation[2] = new PlayingPosition (PlayingPosition.ForwardPos.defender, PlayingPosition.SidePos.leftcentre);
    formation[3] = new PlayingPosition (PlayingPosition.ForwardPos.defender, PlayingPosition.SidePos.rightcentre);
    formation[4] = new PlayingPosition (PlayingPosition.ForwardPos.defender, PlayingPosition.SidePos.right);
    formation[5] = new PlayingPosition (PlayingPosition.ForwardPos.mid, PlayingPosition.SidePos.left);
    formation[6] = new PlayingPosition (PlayingPosition.ForwardPos.mid, PlayingPosition.SidePos.leftcentre);
    formation[7] = new PlayingPosition (PlayingPosition.ForwardPos.mid, PlayingPosition.SidePos.rightcentre);
    formation[8] = new PlayingPosition (PlayingPosition.ForwardPos.mid, PlayingPosition.SidePos.right);
    formation[9] = new PlayingPosition (PlayingPosition.ForwardPos.forward, PlayingPosition.SidePos.leftcentre);
    formation[10] = new PlayingPosition (PlayingPosition.ForwardPos.forward, PlayingPosition.SidePos.rightcentre);    

    return formation;
  }

}
